package com.lhy.vaccine_admin.mapper;

import com.lhy.vaccine_admin.entity.SAdmin;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author lhy
 * @since 2023-02-22
 */
@Mapper
public interface SAdminMapper extends BaseMapper<SAdmin> {

    SAdmin getByAccount(@Param("account") String sAccount,
                        @Param("password") String sPassword);

    List<String> getSearchByName(@Param("value")String newValue);

    List<String> getSearchByKey(String newValue);
}
